<template>
  <div>
    <van-button @click="goLogin" type="primary">去登录</van-button>
  </div>
</template>

<script lang="ts" setup="props">
import { useRouter } from "vue-router";
const router = useRouter();
const goLogin = () => {
  router.push("/login");
};
</script>

<style>

</style>